//
//  SampuxEquipmentListView.h
//  Sampux
//
//  Created by rzm on 16/7/7.
//  Copyright © 2016年 rzm. All rights reserved.
//

#import "SampuxCustomView.h"
#import "SampuxListModel.h"


@protocol  SampuxEquipmentListSelectedRowDelegate <NSObject>

//- (void)listTableViewSeletedRowIsONLine:(NSIndexPath *)index andDeviceName:(NSString *)cellNameStr andIsShutDownOrNot:(BOOL)isShutDownOrNot isHeate:(BOOL)isHeat workMode:(BOOL)isTimeModeOrNot heatModel:(NSInteger)heatModel;

- (void)listTableViewSeletedRowIsONLine:(NSIndexPath *)index andDeviceModel:(SampuxListModel *)listModel;
- (void)listTableViewSeletedRowIsOffLine:(NSIndexPath *)index andDeviceModel:(SampuxListModel *)listModel;

@end

@interface SampuxEquipmentListView : SampuxCustomView

@property (nonatomic, assign) id <SampuxEquipmentListSelectedRowDelegate> listDelegate;
@property (nonatomic, strong) NSMutableArray *dataSourceArr;
@property (nonatomic, strong) UITableView *listTableView;
@property (nonatomic, strong) NSMutableArray *modelArr;

@end
